//
//  HQMapManager.h
//  o_amap
//
//  Created by Q神 on 2021/4/6.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
/// 导航
#import <AMapNaviKit/AMapNaviKit.h>
#import "GdMapFlutterStreamManager.h"

@class OAmapPlugin;

NS_ASSUME_NONNULL_BEGIN

/// 地图
@interface HQMapManager : NSObject 

+ (instancetype)shareInstance;

/**
    plugin 相关
 */
- (void)mapViewWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar withMapPlugin:(NSObject<FlutterPlugin> * _Nonnull)mapPlugin viewIdentifier:(int64_t)viewId withMapView:(MAMapView *)mapV streamHandler:(GdMapFlutterStreamHandler * _Nullable)handler;
- (void)mapViewMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result;

@end

NS_ASSUME_NONNULL_END
